<!DOCTYPE html>
<html>
<head>
    {include file="public/head" /}
</head>
<body>
<ul class="news-li">

    {foreach name="list" item="list"}
        {if condition="$list['photo'] eq ''"}
            <div class="iframe-top">
                <a href="{:url('News/index',array('id' => $list['id']))}" target="_blank">
                    <h1>【{$list['table']}】{$list['title']|msubstr=###,0,22}</h1>
                    <h4><span>[</span><span></span>{$list['remark']|msubstr=###,0,150}</span><span>]</span></h4>
                </a>
            </div>
        {else /}
            <li>
                <a href="{:url('News/index',array('id' => $list['id']))}" target="_blank">
                    <div class="li-left">
                        <img width="165" height="127" src="/uploads/images/{$list['photo']}"/>
                    </div>
                    <div class="li-right">
                        <h2>【{$list['table']}】{$list['title']|msubstr=###,0,25}</h2>
                        <p>{$list['remark']|msubstr=###,0,80}</p>
                        <p class="date">{$list['update_time']|date="Y-m-d",###}</p>
                    </div>
                    <div class="clear"></div>
                </a>
            </li>
        {/if}
    {/foreach}

</ul>
<div class="more-button"><p>
    {include file="public/pages" /}
    <div class="pages">
    {$page}
    </div>

</p></div>
</body>
<script type="text/javascript">

</script>
</html>
